package com.zb.sms.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author WEN
 * @Date 2024/5/22 0022
 **/
@Data
@ApiModel("工单接收者对象")
public class OrderReceiveVo {
    @ApiModelProperty(value = "工单ID")
    private Long workId;

    @ApiModelProperty(value = "工单单号")
    private String workNo;

    @ApiModelProperty(value = "工单模块")
    private String module;

    @ApiModelProperty(value = "客服手机号")
    private String empPhone;

    @ApiModelProperty(value = "服务商负责人手机号")
    private String networkManagerPhone;

    @ApiModelProperty(value = "工程师手机号")
    private String engineerPhone;

    @ApiModelProperty(value = "工程师姓名")
    private String engineer;

    @ApiModelProperty(value = "客户手机号")
    private String userPhone;

    @ApiModelProperty(value = "工单客户姓名")
    private String username;

    public OrderReceiveVo() {
    }

    public OrderReceiveVo(OrderReceiveVo receiveVo) {
        this.workId = receiveVo.getWorkId();
        this.workNo = receiveVo.getWorkNo();
        this.module = receiveVo.getModule();
        this.empPhone = receiveVo.getEmpPhone();
        this.networkManagerPhone = receiveVo.getNetworkManagerPhone();
        this.engineerPhone = receiveVo.getEngineerPhone();
        this.engineer = receiveVo.getEngineer();
        this.userPhone = receiveVo.getUserPhone();
        this.username = receiveVo.getUsername();
    }

    public OrderReceiveVo(String empPhone, String networkManagerPhone, String engineerPhone, String engineer, String userPhone, String username) {
        this.empPhone = empPhone;
        this.networkManagerPhone = networkManagerPhone;
        this.engineerPhone = engineerPhone;
        this.engineer = engineer;
        this.userPhone = userPhone;
        this.username = username;
    }
}
